package com.course.server.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Data
@Accessors(chain = true)
@TableName("chapter")
public class User implements Serializable {
    @TableField("user_id")
    private Long userId;

    @TableField("password")
    private String password;

    @TableField("username")
    private String username;

    @TableField("user_sex")
    private Integer userSex;

    @TableField("email")
    private String email;

    @TableField("userImg")
    private String userImg;

    private static final long serialVersionUID = 1L;
}
